home *** CD-ROM | disk | FTP | other *** search
- Path: news.iadfw.net!usenet
- From: alpet@airmail.net (Adam Peterson)
- Newsgroups: comp.lang.c
- Subject: Re: I need basic help
- Date: Sat, 24 Feb 1996 07:51:36 GMT
- Organization: customer of Internet America
- Message-ID: <4gm95r$c3p@news-f.iadfw.net>
- References: <4glfaa$gvn@hasle.sn.no>
- NNTP-Posting-Host: dal19-06.ppp.iadfw.net
- X-Newsreader: Forte Free Agent 1.0.82
-
- sloken@oslonett.no (Syver L°ken) wrote:
-
- >#include<iostream.h>
-
- >int main ()
- >{
- >cout << " this is a test test ";
- >return (0);
- > }
-
- >when this simple program is linked ( compiling works ) I get the
- >following error :
-
- >Linking test.exe:
- >Linker Warning: No module definition file specified: using defaults
-
-
- >Linker Error: Undefined symbol OwlMain(int,char far*far*) in library
- >file \BC4\LIB\owlwi.lib in module winmain
- >
- >As you understand , I use Borland and there's obviously something
- >wrong with linking options or libraries , i just can't figure out
- >what!
-
- I haven't used Borland in a while, but your are obviously using their
- 'dos-program-in-a-windows' thing (easywin? don't remember what they
- called it). That's what your first warning is--since it is a dos
- program, you haven't defined the module definition file. Is not that
- important in the sample. The second error looks to me like you are
- tryin to link in and use OWL.. I would look at the project options
- and see if you have the OWL flag on somewhere.
-
- Adam
-
-
-
-